package cn.elead.chaos.framework.web.global.exception;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import cn.elead.chaos.api.enums.ExStatus;
import cn.elead.chaos.api.web.IExceptionResolverService;

/**
 * 自定义异常处理
 */
public class DefaultExceptionResolverService implements IExceptionResolverService {

	@Override
	public ExStatus doException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex, Object view) {
		// 返回false时,不结束,最终默认handleException处理
		return ExStatus.SKIP;
	}

}
